<template>
  <div class="registerApplyBlock">
    <div class="block-title">
      <img :src="icon" alt="" />
      <span>{{ title }}</span>
    </div>
    <div class="block-img">
      <div v-for="(item, index) in imgList" :key="index">
        <span @click="moreClick(item)">{{ item.name }}</span>
        <img :src="item.img" alt="" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: String,
    icon: String,
    imgList: Array
  },
  methods: {
    moreClick(item){
      this.$emit('moreClick',item)
    }
  },
}
</script>